package com.electric.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 故障记录额外参数
此处专门用来保存故障类型为失压时的额外数据
 * </p>
 *
 * @author zhangbin
 * @since 2018-08-28
 */
@TableName("repair_record_parameter")
public class RepairRecordParameter extends Model<RepairRecordParameter> {

    private static final long serialVersionUID = 1L;

    /**
     * 故障记录主键
     */
    @TableField("repair_record_id")
    private String repairRecordId;
    /**
     * 参数名称
     */
    @TableField("parameter_name")
    private String parameterName;
    /**
     * 参数值
     */
    @TableField("parameter_value")
    private String parameterValue;


    public String getRepairRecordId() {
        return repairRecordId;
    }

    public void setRepairRecordId(String repairRecordId) {
        this.repairRecordId = repairRecordId;
    }

    public String getParameterName() {
        return parameterName;
    }

    public void setParameterName(String parameterName) {
        this.parameterName = parameterName;
    }

    public String getParameterValue() {
        return parameterValue;
    }

    public void setParameterValue(String parameterValue) {
        this.parameterValue = parameterValue;
    }

    @Override
    protected Serializable pkVal() {
        return null;
    }

    @Override
    public String toString() {
        return "RepairRecordParameter{" +
        ", repairRecordId=" + repairRecordId +
        ", parameterName=" + parameterName +
        ", parameterValue=" + parameterValue +
        "}";
    }
}
